<script setup lang="ts">
import { http } from "@/service"

const testApi = () => {
  http.get('www.baidu.com').then(res => {
    console.log(res)
  }).catch(err => {
    console.log(err)
  })
}
</script>

<template>
  <div c-yellow-500>order page</div>
  <van-button @click="testApi">test api</van-button>
</template>

<route lang="json5">
{
  name: 'order',
  meta: {
    title: '工单'
  },
}
</route>
